<script>
    $.ajax({
        url: "/config/sub-time",
        type: "post",
        dataType: "json",
        traditional: true,
        data: {'name': '这是标题', 'type' : '1', 'time_format' : '1', 'widget_name' : '组件名称','widget_remark':'组件备注' },
        success: function (data) {
            //    window.location.href = "/";
        }
    })
    </script>